package com.wujunchao.demo.pojo;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * (News)实体类
 *
 * @author wn
 * @version 1.0
 * @since 2021-07-05 10:58:44
 */
@ApiModel(value = "News", description = "$tableInfo.comment")
public class News implements Serializable {
    private static final long serialVersionUID = 418390117891109672L;

    @ApiModelProperty(name = "id", notes = "${column.comment}", dataType = "Integer", required = true)
    private Integer id;

    @ApiModelProperty(name = "ntitle", notes = "${column.comment}", dataType = "String", required = true)
    private String ntitle;

    @ApiModelProperty(name = "ncontent", notes = "${column.comment}", dataType = "String", required = true)
    private String ncontent;

    @ApiModelProperty(name = "ndate", notes = "${column.comment}", dataType = "String", required = true)
    private String ndate;

    @ApiModelProperty(name = "nwriter", notes = "${column.comment}", dataType = "String", required = true)
    private String nwriter;
    //0:未读
    // 1：已读
    @ApiModelProperty(name = "status", notes = "${column.comment}", dataType = "Integer", required = true)
    private Integer status;



    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNtitle() {
        return ntitle;
    }

    public void setNtitle(String ntitle) {
        this.ntitle = ntitle;
    }

    public String getNcontent() {
        return ncontent;
    }

    public void setNcontent(String ncontent) {
        this.ncontent = ncontent;
    }

    public String getNdate() {
        return ndate;
    }

    public void setNdate(String ndate) {
        this.ndate = ndate;
    }

    public String getNwriter() {
        return nwriter;
    }

    public void setNwriter(String nwriter) {
        this.nwriter = nwriter;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

}
